<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2018/12/13
 * Time: 16:34
 */

namespace app\admin\model;


class Grade extends BaseModel
{
    public static function addGrade($data)
    {
        return self::create($data);
    }
    public static function getAllGradeName()
    {
        return self::all();
    }
}